LegendEntries Method

Returns an object that represents either a single legend entry or a collection of legend entries for the legend.

expression.LegendEntries(Index)

expression    Required. An expression that returns one of the objects in the Applies To list.

Index    Optional Variant. The number of the legend entry.

Example

This example sets the font for legend entry one.

myChart.Legend.LegendEntries(1).Font.Name = "Arial"